Fix for issue #1942 'cargo run fails if called from executable folder'
authormseri <mseri@users.noreply.github.com>
Wed, 26 Aug 2015 14:37:07 +0000 (15:37 +0100)
committermseri <mseri@users.noreply.github.com>
Wed, 26 Aug 2015 14:37:07 +0000 (15:37 +0100)
commit99aa55df4150c2c00741581065be34cca33357dc
treea5ebc5c5b66e9342d2add36c108a5f0e35ee3465
parent6192ef578b45d7c625c52548ac04e1e18051e703
Fix for issue #1942 'cargo run fails if called from executable folder'

It maybe a hacky way but I think that changing `util::without_prefix` is a bad approach. Maybe modify `process.build_command` could be another possible approach.
src/cargo/ops/cargo_run.rs